package com.hzw.saas.service.group.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hzw.saas.api.group.bo.GroupMemberRoleBo;
import com.hzw.saas.service.group.model.Group;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 用户组表 Mapper 接口
 * </p>
 *
 * @author sonam
 * @since 2020-12-23
 */
@Mapper
public interface GroupMapper extends BaseMapper<Group> {

    IPage<GroupMemberRoleBo> getAllGroupAndOtherByUserId(IPage<Group> page, @Param("userId") String userId);
}
